﻿using Microsoft.Extensions.DependencyInjection;
using ApprovalFlow.Interface;
using ApprovalFlow.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ApprovalFlow.Models
{
    public class WorkflowOptions
    {
        private IServiceCollection services;
        internal IPersistenceProvider PersistanceFactory;
        internal IQueueProvider QueueFactory;

        public WorkflowOptions(IServiceCollection services)
        {
            this.services = services;
            PersistanceFactory = new MemoryPersistenceProvider();
            QueueFactory = new SingleNodeQueueProvider();
        }

        public void UsePersistence(Func<IServiceProvider, IPersistenceProvider> factory)
        {
        }
    }
}
